﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace ERP.ERPModels.Production.ProductionManagement
{
    /// <summary>
    /// 生产领料
    /// </summary>
    public class ProductionPicking : Entity<int>
    {

        /// <summary>
        /// 领料单编号
        /// </summary>
        public string RequisitionNumber { get; set; }

        /// <summary>
        /// 领料单名称
        /// </summary>
        public string RequisitionName { get; set; }

        /// <summary>
        /// 领料日期
        /// </summary>
        public DateTime RequisitionDate { get; set; }

        /// <summary>
        /// 领料仓库
        /// </summary>
        public string Warehouse { get; set; }

        /// <summary>
        /// 单据状态（待领料/部分领料/已完成/已取消）
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 关联的生产工单编号
        /// </summary>
        public string WorkOrderNumber { get; set; }

        /// <summary>
        /// 客户编号
        /// </summary>
        public string CustomerCode { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }

        /// <summary>
        /// 生产任务名称
        /// </summary>
        public string ProductionTask { get; set; }

        /// <summary>
        /// 工作站名称
        /// </summary>
        public string Workstation { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string Remarks { get; set; }

        /// <summary>
        /// 记录创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 记录更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
    }
}
